#ifndef __MOUSE_INPUT_H__
#define __MOUSE_INPUT_H__

#include <sys/types.h>
#include <fcntl.h>
#include <time.h>
#include <stdio.h>
#include <unistd.h>
#include <linux/input.h>
#include <semaphore.h>

typedef struct mouse_event {
    int x;
    int y;
    int borad_size_x;
    int borad_size_y;
    sem_t *sem;
}mouse_event_t;



void listen_mice(const char *dev,mouse_event_t *event);

void listen_mouse(mouse_event_t *event);


#endif // __MOUSE_INPUT_H__